﻿@model Doan.Forum.Models.CreateCommentModel
@{
    ViewBag.Title = "CreateComment";
}

@using (Ajax.BeginForm("CreateComment", "Comment",new AjaxOptions()
                                                                        {
                                                                            UpdateTargetId = "cmlist",
                                                                            HttpMethod = "Post"
                                                                        }))
{
    <div class="span9 box-createCM">
        <div class="editor-field">
            @Html.EditorFor(model => model.CmBody)
            @Html.ValidationMessageFor(model => model.CmBody)
        </div>
        <div>
            @Html.HiddenFor(m => m.TopicId);
        </div>
        <div class="btnNewTopic">
            <input type="submit" value="Đăng bài"  class="btn btn-success btn-large newComment"/>
        </div>
    </div>
}